package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生命体征对象 sign
 * 
 * @author 503
 * @date 2021-05-04
 */
public class Sign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long signId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long workerId;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 呼吸频率 */
    @Excel(name = "呼吸频率")
    private Long breathingRate;

    /** 体温 */
    @Excel(name = "体温")
    private Long bodyTemperature;

    /** 血压 */
    @Excel(name = "血压")
    private Long bloodPressure;

    /** 心率 */
    @Excel(name = "心率")
    private Long heartRate;

    /** 测试时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "测试时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    public void setSignId(Long signId) 
    {
        this.signId = signId;
    }

    public Long getSignId() 
    {
        return signId;
    }
    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setBreathingRate(Long breathingRate) 
    {
        this.breathingRate = breathingRate;
    }

    public Long getBreathingRate() 
    {
        return breathingRate;
    }
    public void setBodyTemperature(Long bodyTemperature) 
    {
        this.bodyTemperature = bodyTemperature;
    }

    public Long getBodyTemperature() 
    {
        return bodyTemperature;
    }
    public void setBloodPressure(Long bloodPressure) 
    {
        this.bloodPressure = bloodPressure;
    }

    public Long getBloodPressure() 
    {
        return bloodPressure;
    }
    public void setHeartRate(Long heartRate) 
    {
        this.heartRate = heartRate;
    }

    public Long getHeartRate() 
    {
        return heartRate;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("signId", getSignId())
            .append("workerId", getWorkerId())
            .append("location", getLocation())
            .append("breathingRate", getBreathingRate())
            .append("bodyTemperature", getBodyTemperature())
            .append("bloodPressure", getBloodPressure())
            .append("heartRate", getHeartRate())
            .append("signTime", getSignTime())
            .toString();
    }
}
